/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.fjut.se16.printer;

/**
 * 纸张
 * @author danny
 */
public class Paper {
    
    public static final String NEW_LINE = "\n";
    
    private String size;        // paper型号
    private int charsPerLine;    // 每行字符数
    private int linesPerPage;   // 每页的行数

    /**
     * @return the size
     */
    public String getSize() {
        return size;
    }

    /**
     * @param size the size to set
     */
    public void setSize(String size) {
        this.size = size;
    }

    /**
     * @return the charsPerLine
     */
    public int getCharsPerLine() {
        return charsPerLine;
    }

    /**
     * @param charsPerLine the charsPerLine to set
     */
    public void setCharsPerLine(int charsPerLine) {
        this.charsPerLine = charsPerLine;
    }

    /**
     * @return the linesPerPage
     */
    public int getLinesPerPage() {
        return linesPerPage;
    }

    /**
     * @param linesPerPage the linesPerPage to set
     */
    public void setLinesPerPage(int linesPerPage) {
        this.linesPerPage = linesPerPage;
    }

    
}
